import { Component, Input } from "@angular/core";

@Component({
    selector: 'product-image',
    template: `
         <img [src] ="url" class= "image-thumbnail">`,
    styles: ['img{width: 8rem; height: 8rem}']
})
export class ProductImageComponent {
    @Input() url: string | undefined;

}